package bento.views.pnls;

import java.awt.Component;

import javax.swing.JPanel;

import bento.IHasWrapper;
import bento.IWrapper;
import bento.views.pnls.PnlManager.Wrapper;

public class PnlManager extends JPanel implements IHasWrapper<PnlManager.Wrapper> {
    private Wrapper wrapper;
    
    @Override
    public Wrapper getWrapper() {
        return wrapper;
    }

    /**
     * Create the panel.
     */
    public PnlManager() {

    }

    public class Wrapper implements IWrapper<Component> {

        @Override
        public Component get() {
            return PnlManager.this;
        }
        
        public Wrapper(bento.api.IBentoClient bentoClient) {
            PnlManager.this.wrapper= this;
        }
    }


}
